package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Repository;

@Repository("bookDao")
@DependsOn("userService")
public class BookDaoImpl implements BookDao {

    public BookDaoImpl(){
        System.out.println("hh...");
    }

    public void save() {
        System.out.println("book dao running...");
    }
}
